Compare Revisions
Last modification
- Rev 5 2014-01-29 14:10:30
- Author: PointedEars
- Log message:
Adapted/fixed for OpenCV 2.4.6 and Qt 4.8.6 on GNU/Linux
/trunk/Chapter 01/main2.cpp |
36,10 → 36,10 |
std::cout << "size: " << image.size().height << " , " |
<< image.size().width << std::endl; |
// open image |
image= cv::imread("img.jpg"); |
image= cv::imread("baboon1.jpg"); |
// check if image has been successfully read |
if (!image.data) { |
// no image has been created
|
// no image has been created� |
return 0; |
} |
// print image size |